Create a recurring employee blockout time

Description Recurring blockout time blocks the specified time for repetive days. To create a recurring blockout time supply the blockouttime request object to this api and api will create the blockout time for specific therapist. To create a recurring block out time supply the recurring blockout time object. Request and respones of both recurring and non recurring block out times are given in examples.

Returns Returns the newly created blockout times in the list of BlockOutTime objects in both recurring and non-recurring scenarios or returns an error object if any error is occured.

post/v1/employees/{employee_id}/blockouttimes?expand[]=ReccuringDetails

Request

  • Base URL
    https://api.zenoti.com
  • Auth
    none required

Path parameters

employee_idstring required

Unique identifier of the employee.

Response

200

errorunknown

Example response

{
  "block_out_times": [
    {
      "block_out_time_id": "9354d793-19b5-4aaa-9523-1095c8bebd49",
      "employee": {
        "id": "1afd493a-4aad-48a3-8f94-9fdea88691ac",
        "name": "Ajay Kumar Singh"
      },
      "block_out_time_type": {
        "id": 16,
        "name": "Lunch ",
        "duration": 60
      },
      "start_time": "2018-09-07T11:45:00",
      "end_time": "2018-09-07T12:45:00",
      "start_time_in_center": "2018-09-07T17:15:00",
      "end_time_in_center": "2018-09-07T18:15:00",
      "recurring_block_out_time": {
        "id": "8f89d3a1-c3d3-4772-b871-6238023a1f09",
        "time_period": "Daily",
        "interval": 1,
        "rec_start_date": "2018-09-07T00:00:00",
        "occurences": 3
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.